package cn.muqingfeng.bbs.constants;

import java.util.regex.Pattern;

public class Constants {
	public static final String EXTRA_URL = "_url";

	public static final String EXTRA_ID = "_id";

	public static final String EXTRA_TITLE = "_title";

	public static final String EXTRA_FID = "_fid";

	public static final String EXTRA_FRAGMENT = "_fragment";

	public static final String EXTRA_BUNDLE = "_bundle";
	
	public static final String EXTRA_TO_WEBDETAIL = "_webdetail";

	public static final String EXTRA_ARTICLE = "_article";
	
	public static final String EXTRA_ACTION = "_action";

	public static final String KEY_USER = "UWOQEIUEIWUQOI_U";

	public static final String KEY_PASSWORD = "UWOQEIUEIWUQOI_P";

	public static final int DEFAULT_PAGE_SIZE = 20;

	public static final Pattern EMAIL_ADDRESS = Pattern.compile("[a-zA-Z0-9\\+\\.\\_\\%\\-\\+]{1,256}" + "\\@" + "[a-zA-Z0-9][a-zA-Z0-9\\-]{0,64}" + "("
			+ "\\." + "[a-zA-Z0-9][a-zA-Z0-9\\-]{0,25}" + ")+");

	public static final int REQUEST_CODE_PICK_PHOTO = 10001;

	public static final int REQUEST_CODE_TAKE_PHOTO = 10002;

}
